package com.xnew.entity.ssoApi;

import java.util.Date;

public class LoginDo {
    //唯一标识  sso_user 表ID
    private String id;
    //单位名称
    private String orgName;
    //组织机构代码
    private String orgCode;
    //用户名 个人用户为证件号/机构用户为机构代码/监管用户为手机号或者邮箱
    private String userName;
    //密码
    private String password;
    //证件类型
    private Integer cartType;
    //证件号
    private String cartNo;
    //真实姓名
    private String realName;
    //用户类型 1个人 2 机构 3 监管
    private Integer userType;
    //是否管理员 1 是 2 否
    private Integer isAdmin;
    //性别
    private Integer sex;
    //手机号
    private String phone;
    //邮箱地址
    private String email;
    //部门名称
    private String deptName;
    //职务
    private String position;
    //如果为机构用户，则返回一个用户和机构关联的ID/若为个人或者监管用户该字段为空
    private String orgUserRalationId;

    private String secret;
    //授权码
    private String code;

    private String token;

    private String clientId;
    
    private Date issuedAt;
    
    private Date expiresAt;

    public Date getIssuedAt() {
		return issuedAt;
	}

	public void setIssuedAt(Date issuedAt) {
		this.issuedAt = issuedAt;
	}

	public Date getExpiresAt() {
		return expiresAt;
	}

	public void setExpiresAt(Date expiresAt) {
		this.expiresAt = expiresAt;
	}

	public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getCartType() {
        return cartType;
    }

    public void setCartType(Integer cartType) {
        this.cartType = cartType;
    }

    public String getCartNo() {
        return cartNo;
    }

    public void setCartNo(String cartNo) {
        this.cartNo = cartNo;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    public Integer getIsAdmin() {
        return isAdmin;
    }

    public void setIsAdmin(Integer isAdmin) {
        this.isAdmin = isAdmin;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getOrgUserRalationId() {
        return orgUserRalationId;
    }

    public void setOrgUserRalationId(String orgUserRalationId) {
        this.orgUserRalationId = orgUserRalationId;
    }

    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }
}
